Exams-Execution Workflow
To execute an exam (namely an algorithm execution, AKA a "run") the following steps must be performed, once authenticated to the API layer as a partner:
- to register a new "device" (if not already present in the database) -> this will imply to follow the OAUTH2 flow for FitBit devices
- to register a new "patient" (if not already present in the database)
- to associate the previously created device to the previously created patient
- to create a new "exam request", for the above mentioned device, by specifying the the start/end date of interest
- to create a new "run" for the above mentioned exam request
- to retrieve the details of the run, after a few seconds